package com.ft.oa.enums;
import com.baomidou.mybatisplus.annotation.IEnum;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

/**
 * 项目立项任务Type枚举类
 * @author hefeng
 * @ClassName ExecProjectTaskStatusEnum
 * @date 2022/1/6 16:48
 */
@Getter
public enum ExecProjectTaskTypeEnum implements IEnum<Integer> {

    PLATFORM(0,"平台"),
    SYSTEM(1,"系统"),
    COMPONENT(2,"组件"),
    MODULE(3,"模块"),
    FUNCTION(4,"功能");

    private Integer value;

    @JsonValue
    private String name;

    ExecProjectTaskTypeEnum(Integer value, String name) {
        this.value = value;
        this.name = name;
    }

    @Override
    public Integer getValue() {
        return value;
    }

    public String getName() {
        return name;
    }
}
